package com.luo.chengrui.module.sa.convert.auth;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import com.luo.chengrui.module.sa.controller.admin.role.vo.RoleFolderUserRespVO;
import com.luo.chengrui.module.sa.dal.dataobject.auth.AuthorizeViewDO;
import com.luo.chengrui.module.sa.dal.dataobject.role.RoleFolderUserViewDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.luo.chengrui.module.sa.controller.admin.auth.vo.*;
import com.luo.chengrui.module.sa.dal.dataobject.auth.AuthorizeDO;

/**
 * 角色授权  Convert
 *
 * @author 诚睿
 */
@Mapper
public interface AuthorizeConvert {

    AuthorizeConvert INSTANCE = Mappers.getMapper(AuthorizeConvert.class);

    AuthorizeDO convert(AuthorizeCreateReqVO bean);

    AuthorizeDO convert(AuthorizeUpdateReqVO bean);

    AuthorizeRespVO convert(AuthorizeDO bean);

    AuthorizeRespVO convert(AuthorizeViewDO bean);

    List<AuthorizeRespVO> convertList(List<AuthorizeDO> list);

    PageResult<AuthorizeRespVO> convertPage(PageResult<AuthorizeDO> page);

    PageResult<AuthorizeRespVO> convertPageCustomize(PageResult<AuthorizeViewDO> page);

    List<AuthorizeExcelVO> convertList02(List<AuthorizeDO> list);

}
